## d-fi <img src="https://notabug.org/sayem314/d-fi/raw/master/assets/logo.png" width="80" height="80" />

> A streaming music downloader.

![Screenshot](https://notabug.org/sayem314/d-fi/raw/master/assets/screenshot.png)

d-fi is a program for downloading music from streaming music services.

Remember that the artists and studios put a lot of work into making music - purchase the original music to support them.

### Features

- Supports single tracks, albums, artists, and playlists
- Music quality selection (MP3 - 128 kbps, MP3 - 320 kbps, FLAC - 1411 kbps)
- Auto tagging MP3 & FLAC (including album cover and lyrics)
- Download a list of links from "downloads.txt"
- Track search support
- CLI and module support

### Supported sites

- Deezer
- Tidal
- Spotify

> Tidal and Spotify tracks will be sourced from Deezer

### Install

> `npm i d-fi -g`

or

> `yarn global add d-fi`

Run `d-fi` to start.

> Pre-built binary [here](https://github.com/d-fi/releases/releases)

### CLI parameters

| Parameter        | Short           | Default  | Supported values                | Description                          |
| :--------------- | :-------------- | :------- | :------------------------------ | :----------------------------------- |
| `--quality`      | `-q`            | `320`    | 128/320/FLAC                    | The quality of the files to download |
| `--path`         | `-p`            | `Music`  | Relative or absolute path       | The path to download the files to    |
| `--url`          | `-u or nothing` |          | album/artist/playlist/track url | Downloads from url                   |
| `--downloadmode` | `-d`            | `single` | `all` for "downloads.txt"       | Downloads multiple urls from list    |
| `--concurrency`  | `-c`            | `4`      | 1 to 99                         | Downloads X songs at a time          |
| `--no-progress`  | `-n or nothing` |          | Not required                    | Hide download progress bar           |
| `--set-arl`      | `-a`            |          | `arl` string                    | Set arl cookies                      |
| `--help`         | `-h`            |          | _Nothing_                       | Shows the CLI help                   |

### Donations

If you want to show your appreciation, you can donate me on [here](https://sayem.eu.org/donate). Thanks!

> Telegram community group: [@dFiCommunity](https://t.me/dFiCommunity)

### Disclaimer

> d-fi was not developed for pirating music but educational and private usage.
>
> It may be illegal to use this in your country,
>
> I am not responsible in any way for the usage of others.

---

> Made with :heart: & :coffee: by Sayem
>
> Based on SMLoadr and Deezloader Remix
